package com.example.demo.service;

import com.example.demo.Dao.UserDao;
import com.example.demo.entity.User;
import org.springframework.stereotype.Service;

@Service
public class UserService implements UserDao {


    @Override
    public User getUserByName(String name) {
        return new User("zhangsan","123456");
    }
}
